
package com.joysuch.wwyt.mh.bean;

import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.SimpleStringBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

//实时监测
@Data
public class MhMonitoringRealTimeListBean {

    private Long id;
    // 名称
    private String name;
    // 监测点编号
    private String pointCode;
    // 数值单位
    private String unit;
    // 监测类型
    private Long MonitoringTypeId;
    // 监测类型名称
    private String minitoringTypeName;
    // 运行状态
    private Integer connectState;
    // 实时数据
    private String realtimeValue;
    // 一级报警阈值
    private String level1Threshold;
    // 二级报警阈值
    private String level2Threshold;
    private String highValue1;
    private String highValue2;
    private String lowValue1;
    private String lowValue2;
    private String highValue;
    private String lowValue;
    // 开 关
    private String switchs;
    private String switchsName;
    @ApiModelProperty("采集时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime collectTime;

    private Long responsibleDept;

    private String responsibleDeptName;

    @ApiModelProperty(value = "数值转换")
    private List<SimpleStringBean> units;
}
